# the minimum version of CMake.
cmake_minimum_required(VERSION 3.4.1)
project(ChineseToPinyin)
set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})

include_directories(${NATIVERENDER_ROOT_PATH}
                    ${NATIVERENDER_ROOT_PATH}/include)

add_library(pinyin SHARED pinyin_napi.cpp pinyin_helper.cpp pinyin_data.cpp)

# hilog_ndk.z libhilog_ndk.z.so
#target_link_libraries(chess PUBLIC hilog_ndk.z.so libace_napi.z.so libc++.a)

target_link_libraries(pinyin PUBLIC hilog_ndk.z.so libace_napi.z.so libc++.a)
#target_link_libraries(${project_name} hilog_ndk.z)